From: Colin Walters Date: Tue, 16 Aug 2016 17:07:51 +0000 (-0400) Subject: test-rofiles-fuse: Actually check out via hardlinks X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~48^2~18 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3469161e4157d715285395e80202c9d2dbd43ce8;p=ostree.git test-rofiles-fuse: Actually check out via hardlinks The test suite was actually doing something before, just not quite what I intended. Without `-U` for bare-user checkouts we end up doing a copy. Now, a future commit will change how rofiles work, which would cause the test suite to permit inplace mutation for non-hardlinked files. So let's ensure they *are* hardlinked. Closes: #462 Approved by: jlebon --- diff --git a/tests/test-rofiles-fuse.sh b/tests/test-rofiles-fuse.sh index 736747f7..4dfec514 100755 --- a/tests/test-rofiles-fuse.sh +++ b/tests/test-rofiles-fuse.sh @@ -30,7 +30,7 @@ echo "1..6" mkdir mnt -$OSTREE checkout test2 checkout-test2 +$OSTREE checkout -U test2 checkout-test2 rofiles-fuse checkout-test2 mnt cleanup_fuse() {